package com.woniu108.valueAdded.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 积分明细表
 * </p>
 *
 * @author yanxi
 * @since 2024-05-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ScoreDetailLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 积分明细表编号
     */
    @TableId(value = "detail_log_id", type = IdType.AUTO)
    private Integer detailLogId;

    /**
     * 用户编号
     */
    private String userId;

    /**
     * 积分类型
     */
    private Integer scoreType;

    /**
     * 操作类型（增减）
     */
    private Integer modifyed;

    /**
     * 累计积分
     */
    private Integer score;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
